﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ggfklist.aspx.cs" Inherits="GPCSC.Web.sjs.ggfklist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>淮安市领导干部下基层活动网站</title>
    <meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
    <meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
    <link type="text/css" rel="Stylesheet" href="../Css/GridCss.css" />
    <link href="../Css/main.css" rel="stylesheet" type="text/css" />
    <style>
        body
        {
            overflow: hidden;
        }
    </style>
    <script type="text/javascript">
        function edit(types, type, ggid) {

            //遮盖层
            document.all.ly.style.display = "block";
            document.all.ly.style.width = 1400;
            document.all.ly.style.height = 900;

            //弹出页
            document.all.fks.style.display = 'block';
            document.all.ifr.width = document.body.scrollWidth - 100;
            document.all.ifr.height = 450;
            if (type == "1") {
                document.all.ifr.src = "ncfk.aspx?ggid=" + ggid + "&type=" + types;
            }
            else if (type == "2") {
                document.all.ifr.src = "qyfk.aspx?ggid=" + ggid + "&type=" + types;
            }
            else if (type == "3") {
                document.all.ifr.src = "sqfk.aspx?ggid=" + ggid + "&type=" + types;
            }

        }
        function Lock_Check() {

            document.all.ly.style.display = "none";
            document.all.fks.style.display = 'none';
            document.all.ifr.src = "";
            window.location.href = "ggfklist.aspx";
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="grid" class="grid">
        <asp:Repeater ID="PostListS" runat="server">
            <HeaderTemplate>
                <table width="100%">
                    <tr height="26px">
                        <th>
                            领导人
                        </th>
                        <th>
                            挂钩单位
                        </th>
                        <th>
                            类型
                        </th>
                        <th>
                            联系人
                        </th>
                        <th>
                            联系方式
                        </th>
                       
                        <th colspan="2">
                            操作
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <!--不带底色-->
                <tr>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "lgname")%>
                    </td>
                    <td style="cursor: pointer" onclick="edit('view','<%# DataBinder.Eval(Container.DataItem, "ggvalue").ToString()%>','<%# DataBinder.Eval(Container.DataItem, "ggid").ToString()%>')">
                        <%# DataBinder.Eval(Container.DataItem, "ggname")%>
                    </td>
                    <td>
                        <%#  DataBinder.Eval(Container.DataItem, "typevalue")%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "lxname")%>
                    </td>
                    <td>
                        <%#  DataBinder.Eval(Container.DataItem, "lxfs")%>
                    </td>
                     
                    <td style="cursor: pointer" onclick="edit('view','<%# DataBinder.Eval(Container.DataItem, "ggvalue").ToString()%>','<%# DataBinder.Eval(Container.DataItem, "ggid").ToString()%>')">
                        查看
                    </td>
                    <td id="Edit" style="cursor: pointer" onclick="edit('edit','<%# DataBinder.Eval(Container.DataItem, "ggvalue").ToString()%>','<%# DataBinder.Eval(Container.DataItem, "ggid").ToString()%>')">
                        修改
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <!--分页-->
        <div id="pageinfo" runat="server" class="pageinfo">
        </div>
    </div>
    <!--         浮层框架开始         -->
    <div id="ly" style="position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
        z-index: 2; left: 0px; display: none;">
    </div>
    <div id="fks" align="center" style="position: absolute; left: 50px; top: 0px; z-index: 1100;
        background-color: #fff; display: none">
        <iframe id="ifr"></iframe>
    </div>
    </form>
</body>
</html>
